package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.entity.BaseEntity;

import java.util.Date;
import java.math.BigDecimal;


@Table(name = "t_user_recharge_history")
public class UserRechargeHistory extends BaseEntity {

    private Integer id;
    /**
     * 账号
     **/
    private String account;
    /**
     * 充值金额
     **/
    private BigDecimal amount;
    /**
     * 用户编号
     **/
    private Integer userId;
    /**
     * 用户名称
     **/
    private String userName;
    /**
     * 创建时间
     **/
    private Date created;
    /**
     * 充值类型
     **/
    private String rechargeType;
    /**
     * 是否优惠
     **/
    private Integer ifDiscount;
    /**
     * 优惠金额
     **/
    private BigDecimal preferentialAmount;
    /**
     * 订单号
     **/
    private String payOrderKid;
    /**
     * 交易订单号
     **/
    private String orderNumber;
    /**
     * 支付方式
     **/
    private Integer payMethod;
    /**
     * 商品编号
     **/
    private Integer itemId;
    /**
     * 状态
     **/
    private Integer status;
    /**
     * 缴费单位
     **/
    private String paymentUnit;

    @Id
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 账号
     **/
    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    /**
     * 充值金额
     **/
    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    /**
     * 用户编号
     **/
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 用户名称
     **/
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 创建时间
     **/
    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    /**
     * 充值类型
     **/
    public String getRechargeType() {
        return rechargeType;
    }

    public void setRechargeType(String rechargeType) {
        this.rechargeType = rechargeType;
    }

    /**
     * 是否优惠
     **/
    public Integer getIfDiscount() {
        return ifDiscount;
    }

    public void setIfDiscount(Integer ifDiscount) {
        this.ifDiscount = ifDiscount;
    }

    /**
     * 优惠金额
     **/
    public BigDecimal getPreferentialAmount() {
        return preferentialAmount;
    }

    public void setPreferentialAmount(BigDecimal preferentialAmount) {
        this.preferentialAmount = preferentialAmount;
    }

    /**
     * 缴费单位
     **/
    public String getPaymentUnit() {
        return paymentUnit;
    }

    public void setPaymentUnit(String paymentUnit) {
        this.paymentUnit = paymentUnit;
    }

    public String getPayOrderKid() {
        return payOrderKid;
    }

    public void setPayOrderKid(String payOrderKid) {
        this.payOrderKid = payOrderKid;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Integer getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(Integer payMethod) {
        this.payMethod = payMethod;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}